#pragma once

#ifdef EXPORT_API
#define API __declspec(dllexport)
#elifdef IMPORT_API
#define API __declspec(dllimport)
#else
#define API
#endif

extern "C" API int sendFile(const char *path, const char *host, int port);
extern "C" API int recvFile(const char *path, const char *host, int port);

using fileFunPtr = decltype(&sendFile);